/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.meluk.billboard.jpa;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 *
 * @author AMelnyk
 */
@Entity
public class StatisticWithComputer extends BaseStatistic {

    @OneToOne
    @JoinColumn(name = "STATISTICPLAYER_ID")
    private StatisticPlayer statisticPlayer;

    public StatisticPlayer getStatisticPlayer() {
        return statisticPlayer;
    }

    public void setStatisticPlayer(StatisticPlayer statisticPlayer) {
        this.statisticPlayer = statisticPlayer;
    }
}
